home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Into His Marvelous Light
/
Into His Marvelous LIGHT.iso
/
ending.dxr
/
00116_Script_Play Movie X
< prev
next >
Wrap
Text File
|
2001-09-06
|
2KB
|
72 lines
-- DESCRIPTION --
on getBehaviorDescription me
return "¼
PLAY MOVIE X"&RETURN&RETURN&"¼
Drop this behavior onto a Sprite, the Stage or into the Script Channel of ¼
the Score to start a sequence and move the playback head to a given movie."&¼
RETURN&RETURN&"¼
Use the 'Play Done' behavior to end the sequence and to tell the ¼
playback head to return to the current frame."&RETURN&RETURN&"¼
PARAMETERS:"&RETURN&"¼
* Play which movie on mouseUp?"&RETURN&RETURN&"¼
If the target movie is in the same folder as the current movie then you need ¼
only enter the name of the movie. If the movie is in a different folder, ¼
then enter the full or relative path name to the target movie."&¼
RETURN&RETURN&"¼
ASSOCIATED BEHAVIORS:"&RETURN&"¼
+ Play Frame X"&RETURN&"¼
+ Play Done"
end getBehaviorDescription
on getBehaviorTooltip me
return "¼
Use with graphic members or as a frame behavior."&RETURN&RETURN&"¼
Jumps the playback head to the given movie. Acts"&RETURN&"¼
on mouseUp or on exitFrame, depending on whether"&RETURN&"¼
you drag it to a sprite or to the Stage."&RETURN&RETURN&"¼
Use the 'Play Done' behavior to return to this frame."
end getBehaviorTooltip
-- HISTORY --
-- 3 November 1998, written for the D7 Behaviors Palette by James Newton
property myTargetMovie
on mouseUp me
play movie myTargetMovie
end mouseUp
on exitFrame me
if the currentSpriteNum = 0 then
play movie myTargetMovie
end if
end exitFrame
on getPropertyDescriptionList me
if the currentSpriteNum = 0 then
theComment = "Play which movie on exitFrame?"
else
theComment = "Play which movie on mouseUp?"
end if
theComment = theComment&RETURN&"(Include path if necessary)."
return ¼
[ ¼
#myTargetMovie: ¼
[ ¼
#comment: theComment, ¼
#format: #movie, ¼
#default: "Type the name of your movie here" ¼
] ¼
]
end getPropertyDescriptionList